package com.gxc.dao;

import com.gxc.entity.Article;
import java.util.List;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

/**
 * @author 宫新程
 * @since 2019/1/17 6:36 PM
 */
public interface EsRepository extends ElasticsearchRepository<Article, String> {
  List<Article> findByTitleLike(String title);
}
